package csw.model;

public class Account2VO {
	//멤버변수
	private String aid;
	private int balance;
	private double interestRate;
	private String dateCreated;
	private double monthlyInterestRate;

	
	//생성자
	public  Account2VO(
			String aid,int balance,double interestRate,String dateCreated){
		this.aid = aid;
		this.balance = balance;
		this.interestRate = interestRate;
		this.dateCreated = dateCreated;

	}

	//setter/getter
	public String getAid() {
		return aid;
	}

	public void setAid(String aid) {
		this.aid = aid;
	}

	public int getBalance() {
		return balance;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public double getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(double interestRate) {
		this.interestRate = interestRate;
	}

	public String getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(String dateCreated) {
		this.dateCreated = dateCreated;
	}

	public double getMonthlyInterestRate() {
		return monthlyInterestRate;
	}

	public void setMonthlyInterestRate(double monthlyInterestRate) {
		this.monthlyInterestRate = monthlyInterestRate;
	}	
	
		
	//toString
	@Override
	public String toString() {
		String result ="";
		result += aid +"/" + balance + "/"
				 + interestRate + "/" + dateCreated + "/" + monthlyInterestRate;
		return  result;
}
}

